
<?php

echo "Mi proyecto" . $this->uri->segment(3);

$this->db->select('*');
$this->db->from('actividad');
$this->db->where('id_pizarra = ' . "'" . $this->uri->segment(3) . "'");
$query = $this->db->get();

foreach ($query->result() as $row):
    
    echo "  Actividad: ".$row->id_actividad." ";
    echo "Encargado : ".$row->encargado." ";
    
    echo " - ";
    echo $row->id_actividad;

endforeach;
?>
      
